<%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>
<%@ taglib prefix="l" tagdir="/WEB-INF/tags/layout" %>
<%@ taglib prefix="bs" tagdir="/WEB-INF/tags" %>
<%@ taglib prefix="forms" tagdir="/WEB-INF/tags/forms" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/>

<l:settingsGroup title="Runner Parameters">
    <tr>
        <th>
            <label for="folderPath">Folder to Upload: </label>
        </th>
        <td>
            <props:textProperty name="folderPath" />
            <span class="error" id="error_folderPath"></span>
            <span class="smallNote">The path to upload i.e. C:\buildoutput</span>
        </td>
    </tr>
    <tr>
        <th>
            <label for="address">FTP Address</label>
        </th>
        <td>
            <props:textProperty name="address" />
            <span class="error" id="error_address"></span>
            <span class="smallNote">The path and file to for the zip file i.e. C:\output.zip</span>
        </td>
    </tr>
    <tr>
        <th>
            <label for="remoteFolder">Remote Folder: </label>
        </th>
        <td>
            <props:textProperty name="remoteFolder" />
            <span class="error" id="error_remoteFolder"></span>
            <span class="smallNote">The remote folder destination '/' for root</span>
        </td>
    </tr>
    <tr>
        <th>
            <label for="username">Username: </label>
        </th>
        <td>
            <props:textProperty name="username" />
            <span class="error" id="error_username"></span>
            <span class="smallNote">FTP User Account name</span>
        </td>
    </tr>
    <tr>
        <th>
            <label for="password">Password: </label>
        </th>
        <td>
            <props:passwordProperty name="password" />
            <span class="error" id="error_password"></span>
            <span class="smallNote">FTP User Account password</span>
        </td>
    </tr>
</l:settingsGroup>
